package bfgca;
import java.util.*;

public class Player {
	static int majorPowerStartingPoints = 2000;
	static int raiderStartingPoints = 1500;
	
	private String name;
	private String race;
	private String subRace;
	private boolean majorPower;
	private int currentPoints;
	private StarSystem homeSystem;
	private Planet homePlanet;
	private boolean commited;
	private ArrayList<StarSystem> systems;
	private ArrayList<Planet> planets;
	private ArrayList<Vessel> vessels;
	
	public Player( String n, String r, String sr, boolean mp, StarSystem hs, 
	    Planet hp){
		this.name = n;
		this.majorPower = mp;
		this.race = r;
		this.subRace = sr;
		this.homeSystem = hs;
		this.homePlanet = hp;
		if(this.majorPower){
			currentPoints = Player.majorPowerStartingPoints;
		}
		else{
			currentPoints = Player.raiderStartingPoints;
		}
	}
	
	public boolean isMp(){return this.majorPower;}	
	public String getName(){return this.name;}	
	public String getRace(){return this.race;}	
	public String getSubRace(){return this.subRace;}	
	public int getPoints(){return this.currentPoints;}	
	public StarSystem getHomeSystem(){return this.homeSystem;}	
	public Planet getHomePlanet(){return this.homePlanet;}	
	public boolean getCommit() {return this.commited;}
	public ArrayList<StarSystem> getSystems() {return this.systems;}	
	public ArrayList<Planet> getPlanets() {return this.planets;}	
	public ArrayList<Vessel> getVessels() {return this.vessels;}
}
